<?php
/* @var $this StkTrazaController */
/* @var $model StkTraza */
/* @var $form CActiveForm */
?>
<script type="text/JavaScript">
	$('body').css('background', '#fff');
</script>
<div class="form">
<div id="content2">
<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'Stk-traza-form',
	// Please note: When you enable ajax validation, make sure the corresponding
	// controller action is handling ajax validation correctly.
	// There is a call to performAjaxValidation() commented in generated controller code.
	// See class documentation of CActiveForm for details on this.
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'Tabla'); ?>
		<?php echo $form->textField($model,'Tabla',array('size'=>50,'maxlength'=>50)); ?>
		<?php echo $form->error($model,'Tabla'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'Fecha'); ?>
		<?php echo $form->textField($model,'Fecha'); ?>
		<?php echo $form->error($model,'Fecha'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'Registro_Id'); ?>
		<?php echo $form->textField($model,'Registro_Id'); ?>
		<?php echo $form->error($model,'Registro_Id'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'Accion'); ?>
		<?php echo $form->textField($model,'Accion',array('size'=>10,'maxlength'=>10)); ?>
		<?php echo $form->error($model,'Accion'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'Estado'); ?>
		<?php echo $form->textField($model,'Estado',array('size'=>5,'maxlength'=>5)); ?>
		<?php echo $form->error($model,'Estado'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'Usuario_Id'); ?>
		<?php echo $form->textField($model,'Usuario_Id'); ?>
		<?php echo $form->error($model,'Usuario_Id'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>
</div>
</div><!-- form -->